import 'package:json_annotation/json_annotation.dart';

part 'time_range_spec.g.dart';

@JsonSerializable()
class TimeRageSpec {
  int? length;
  TimeRageSpec({this.length});

  factory TimeRageSpec.fromJson(Map<String, dynamic> json) =>
      _$TimeRageSpecFromJson(json);

  Map<String, dynamic> toJson() => _$TimeRageSpecToJson(this);
}
